﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Enums
{
    /// <summary>
    /// 日志信息
    /// </summary>
    public static class LogMessage
    {
        #region 用户管理反馈码
        /// <summary>
        /// 请求开始
        /// </summary>
        [Description("请求开始")]
        public static string PROCESS_BEGIN = "{0}-请求开始";
        /// <summary>
        /// 请求结束
        /// </summary>
        [Description("请求结束")]
        public static string PROCESS_END = "{0}-请求结束";
        /// <summary>
        /// 请求错误
        /// </summary>
        [Description("请求错误")]
        public static string PROCESS_ERROR = "{0}-请求错误";
        /// <summary>
        /// 请求系统错误
        /// </summary>
        [Description("请求系统错误")]
        public static string PROCESS_EXCEPTION = "{0}-请求系统错误";
        /// <summary>
        /// 请求开始
        /// </summary>
        [Description("请求开始")]
        public static string PROCESS_ACTION_BEGIN = "{0}-{1}-请求开始";
        /// <summary>
        /// 请求结束
        /// </summary>
        [Description("请求结束")]
        public static string PROCESS_ACTION_END = "{0}-{1}-请求结束";
        /// <summary>
        /// 请求错误
        /// </summary>
        [Description("请求错误")]
        public static string PROCESS_ACTION_ERROR = "{0}-{1}-请求错误";
        /// <summary>
        /// 请求系统错误
        /// </summary>
        [Description("请求系统错误")]
        public static string PROCESS_ACTION_EXCEPTION = "{0}-{1}-请求系统错误";
        /// <summary>
        /// 保存成功
        /// </summary>
        [Description("保存成功")]
        public static string PROCESS_ACTION_CREATED = "保存成功";
        /// <summary>
        /// 保存失败
        /// </summary>
        [Description("保存失败")]
        public static string PROCESS_ACTION_CREATE_FAILED = "保存失败";
        /// <summary>
        /// 更新成功
        /// </summary>
        [Description("更新成功")]
        public static string PROCESS_ACTION_UPDATED = "更新成功";
        /// <summary>
        /// 更新失败
        /// </summary>
        [Description("更新失败")]
        public static string PROCESS_ACTION_UPDATE_FAILED = "更新失败";
        /// <summary>
        /// 删除成功
        /// </summary>
        [Description("删除成功")]
        public static string PROCESS_ACTION_DELETED = "删除成功";
        /// <summary>
        /// 删除失败
        /// </summary>
        [Description("删除失败")]
        public static string PROCESS_ACTION_DELETE_FAILED = "删除失败";
        #endregion
    }
}
